<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Owl Carousel - CSS3 Transitions</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="jQuery Responsive Carousel - Owl Carusel">
<meta name="author" content="Bartosz Wojciechowski">
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,300,600,700' rel='stylesheet' type='text/css'>
<link href="../assets/css/bootstrapTheme.css" rel="stylesheet">
<link href="../assets/css/custom.css" rel="stylesheet">
<!-- Owl Carousel Assets -->
<link href="../owl-carousel/owl.carousel.css" rel="stylesheet">
<link href="../owl-carousel/owl.theme.css" rel="stylesheet">
<link href="../assets/js/google-code-prettify/prettify.css" rel="stylesheet">
<!-- Le fav and touch icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
</head>
<body>
<div id="title">
  <div class="container">
    <div class="row">
      <div class="span12">
        <h1>CSS3 Transitions</h1>
      </div>
    </div>
  </div>
</div>
<div id="demo">
  <div class="container">
    <div class="row">
      <div class="span12">
        <div id="owl-demo" class="owl-carousel">
          <div class="item"><img src="assets/fullimage4.jpg"></div>
          <div class="item"><img src="assets/fullimage5.jpg"></div>
          <div class="item"><img src="assets/fullimage6.jpg"></div>
          <div class="item"><img src="assets/fullimage7.jpg"></div>
          <div class="item"><img src="assets/fullimage1.jpg" ></div>
          <div class="item"><img src="assets/fullimage2.jpg"></div>
          <div class="item"><img src="assets/fullimage3.jpg"></div>
        </div>
        <label for="transitionType">Select Transition Type</label>
        <select name="transitionType" id="transitionType">
          <option value="fade">fade</option>
          <option value="backSlide">backSlide</option>
          <option value="goDown">goDown</option>
          <option value="fadeUp">fadeUp</option>
        </select>
      </div>
    </div>
  </div>
</div>
<div id="example-info">
  <div class="container">
    <div class="row">
      <div class="span12">
        <h1>Setup</h1>
        <p><strong>Important! CSS3 transition works only in modern browsers that support CSS3 translate3d methods and only with single item on screen.</strong><br>
          <br>
          Use <code>transitionStyle</code> option to set transtion. There are four predefined transitions: <code>"fade"</code>, <code>"backSlide"</code>, <code>goDown</code> and <code>scaleUp</code>. <br>
          <br>
          You can also build your own transition styles easily. For example by adding "YourName" value <code>transitionStyle: "YourName"</code>, owlCarousel will add <code>.owl-YourName-out</code> class to previous slide and <code>.owl-YourName-in</code> to next slide. All transitions require "in" and "out" styles. Look into owl.carousel.css source for details. </p>
        <ul class="nav nav-tabs" id="myTab">
          <li class="active"><a href="#javascript">Javascript</a></li>
          <li><a href="#HTML">HTML</a></li>
          <li><a href="#CSS">CSS</a></li>
        </ul>
        <div class="tab-content">
          <div class="tab-pane active" id="javascript">
            <pre class="pre-show prettyprint linenums">
$(document).ready(function() {

  var owl = $("#owl-demo");

  owl.owlCarousel({
    navigation : true,
    singleItem : true,
    transitionStyle : "fade"
  });

});
</pre>
          </div>
          <div class="tab-pane" id="HTML">
            <pre class="pre-show prettyprint linenums">
&lt;div id="owl-demo" class="owl-carousel owl-theme"&gt;

  &lt;div class="item"&gt;&lt;img src="assets/fullimage4.jpg"&gt;&lt;/div&gt;
  &lt;div class="item"&gt;&lt;img src="assets/fullimage5.jpg"&gt;&lt;/div&gt;
  &lt;div class="item"&gt;&lt;img src="assets/fullimage6.jpg"&gt;&lt;/div&gt;
  &lt;div class="item"&gt;&lt;img src="assets/fullimage7.jpg"&gt;&lt;/div&gt;
  &lt;div class="item"&gt;&lt;img src="assets/fullimage1.jpg"&gt;&lt;/div&gt;
  &lt;div class="item"&gt;&lt;img src="assets/fullimage2.jpg"&gt;&lt;/div&gt;
  &lt;div class="item"&gt;&lt;img src="assets/fullimage3.jpg"&gt;&lt;/div&gt;

&lt;/div&gt;
</pre>
          </div>
          <div class="tab-pane" id="CSS">
            <pre class="pre-show prettyprint linenums">
#owl-demo .item img{
    display: block;
    width: 100%;
    height: auto;
}
</pre>
          </div>
        </div>
        <!--End Tab Content-->
      </div>
    </div>
  </div>
</div>
<div id="more">
  <div class="container">
    <div class="row">
      <div class="span12">
        <h1>More Demos</h1>
      </div>
    </div>
    <div class="row demos-row">
      <div class="span3"> <a href="images.html" class="demo-box">
        <div class="demo-wrapper demo-images clearfix">
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
        </div>
        <h3>Images</h3>
        </a> </div>
      <div class="span3"> <a href="custom.html" class="demo-box">
        <div class="demo-wrapper demo-custom clearfix">
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
        </div>
        <h3>Custom</h3>
        </a> </div>
      <div class="span3"> <a href="itemsCustom.html" class="demo-box">
        <div class="demo-wrapper demo-full clearfix">
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
        </div>
        <h3>Custom 2</h3>
        </a> </div>
      <div class="span3"> <a href="one.html" class="demo-box">
        <div class="demo-wrapper demo-one clearfix">
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
        </div>
        <h3>One Slide</h3>
        </a> </div>
    </div>
    <div class="row demos-row">
      <div class="span3"> <a href="json.html" class="demo-box">
        <div class="demo-wrapper demo-Json clearfix">
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
        </div>
        <h3>JSON</h3>
        </a> </div>
      <div class="span3"> <a href="customJson.html" class="demo-box">
        <div class="demo-wrapper demo-Json-custom clearfix">
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
        </div>
        <h3>JSON Custom</h3>
        </a> </div>
      <div class="span3"> <a href="lazyLoad.html" class="demo-box">
        <div class="demo-wrapper demo-lazy clearfix">
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
        </div>
        <h3>Lazy Load</h3>
        </a> </div>
      <div class="span3"> <a href="autoHeight.html" class="demo-box">
        <div class="demo-wrapper demo-height clearfix">
          <div class="demo-slide">
            <div class="bg"></div>
          </div>
        </div>
        <h3>Auto Height</h3>
        </a> </div>
    </div>
  </div>
</div>
<script src="../assets/js/jquery-1.9.1.min.js"></script>
<script src="../owl-carousel/owl.carousel.js"></script>
<!-- Demo -->
<style>
    #owl-demo .item img{
        display: block;
        width: 100%;
        height: auto;
    }
    </style>
<script>
    $(document).ready(function() {

      var owl = $("#owl-demo");

      owl.owlCarousel({
        navigation : true,
        singleItem : true,
        transitionStyle : "fade"
      });

      //Select Transtion Type
      $("#transitionType").change(function(){
        var newValue = $(this).val();

        //TransitionTypes is owlCarousel inner method.
        owl.data("owlCarousel").transitionTypes(newValue);

        //After change type go to next slide
        owl.trigger("owl.next");
      });
    });
    </script>
<script src="../assets/js/bootstrap-collapse.js"></script>
<script src="../assets/js/bootstrap-transition.js"></script>
<script src="../assets/js/bootstrap-tab.js"></script>
<script src="../assets/js/google-code-prettify/prettify.js"></script>
<script src="../assets/js/application.js"></script>
</body>
</html>
